package com.yunjian.core.basic.service;

import com.yunjian.core.basic.mapper.SDataDicMapper;
import com.yunjian.core.basic.model.SDataDic;
import com.yunjian.core.basic.model.SDataDicExample;
import com.yunjian.core.basic.model.SDataDicKey;
import com.github.pagehelper.PageInfo;

public interface SDataDicService extends SDataDicMapper{
	
	/**
	 * 从缓存中查询
	 * @param key
	 * @return
	 */
	SDataDic selectCacheByPrimaryKey(SDataDicKey key);
	
	/**
	 * 分页检索
	 * @param page
	 * @param rows
	 * @return
	 */
	PageInfo<SDataDic> selectPagedByExample(int page, int rows, SDataDicExample example); 
}
